{extend name="adminheader:header"/}
{block name="content"}
    <body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>添加会员提现信息</h5>
                    </div>
                    <div class="ibox-content">
                        <form action="{:url('/admin/Withdrawal/addPost')}" method="post" class="form-horizontal js-ajax-form m-t">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">会员姓名<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                    <select class="form-control" name="uid">
                                        <option value="">- - - 请选择会员 - - -</option>
                                        {if condition="$user neq null"}
                                            {volist name="user" id="vo"}
                                                <option value="{$vo.id}">{$vo.u_name}</option>
                                            {/volist}
                                        {else/}
                                            <option value="" disabled="disabled">暂时无会员</option>
                                        {/if}
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">收款人姓名<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                    <input name="w_name" type="text" class="form-control" value="" placeholder="请输入收款人姓名" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">收款人手机号码<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                    <input name="w_tel" type="text" class="form-control" value="" placeholder="请输入收款人手机号码" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">提现金额<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                    <input name="w_amount" type="text" class="form-control" value="" placeholder="请输入提现金额" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">收款人账号<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                    <input name="w_account" type="text" class="form-control" value="" placeholder="请输入收款人账号" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">提现状态<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                   <input type="radio" name="w_status" id="inlineRadio1" value="1" style="cursor: pointer;margin-right:5px"/>未打款&nbsp;&nbsp;&nbsp;&nbsp;
                                   <input type="radio" name="w_status" id="inlineRadio2" value="2" style="cursor: pointer;margin-right:5px"/>已打款
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">打款时间<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                    <input class="form-control js-bootstrap-datetime" name="w_time" type="text" value="{:date('Y-m-d H:i',time())}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">会员提交时间<span class="form-required">*</span></label>
                                <div class="col-md-6 col-sm-10">
                                    <input name="addtime" class="form-control js-bootstrap-datetime" type="text" value="{:date('Y-m-d H:i',time())}" />
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-3">
                                    <button class="btn btn-primary js-ajax-submit" type="submit">添加</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<script src="/admin/js/admin.js"></script>
{/block}